package com.wx.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

/**
 * <p>Title:      ActionBindRoleDto. </p>
 * <p>Description TODO </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company:     医百科技有限公司</p>
 *
 * @author         <a href="xinglinglove1029@163.com"/>杨文生</a>
 * @since      2019/9/27 16:42
 */
@Data
public class ActionBindRoleDto implements Serializable {

    private static final long serialVersionUID = 5321230423670325340L;
    /**
     * 角色Id集合
     */
    @ApiModelProperty(value = "角色Id集合")
    private List<String> roleIdList;

    /**
     * 权限id
     */
    @ApiModelProperty(value = "权限id")
    @NotBlank(message = "{roleAuthority.actionId.notBlank}")
    private String actionId;
}
